package nl.weeaboo.sh.danmaku.commands;

import nl.weeaboo.sh.danmaku.ShotModel;
import nl.weeaboo.sh.danmaku.Spell;
import nl.weeaboo.sh.danmaku.SpellBook;
import nl.weeaboo.sh.danmaku.Universe;

public class TDestroy extends Spell {

	public TDestroy() {
	}
	protected TDestroy(TDestroy t) {
		super(t);		
	}
	
	public TDestroy clone() {
		return new TDestroy(this);
	}
	
	@Override
	public void step(Universe u, SpellBook sb, ShotModel s) {
		s.destroy();
		finish();
	}
	
}
